package com.hdrx.fundhelper.common;

import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author: houdx
 * @description:
 * @date: 2024/1/15 10:44
 */
@NoArgsConstructor
@Data
public class ParamException extends RuntimeException {

    private static final long serialVersionUID = 1L;

    private Integer code;

    private String msg;

    public ParamException(String msg){
        this.msg = msg;
    }

    public ParamException(final String msg,final Integer code){
        this.msg = msg;
        this.code = code;
    }
}
